<%@ page import="java.util.ArrayList" %><%--
  Created by IntelliJ IDEA.
  User: Jovi
  Date: 2018/4/10
  Time: 上午10:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String username = "admin";
    request.setAttribute("username", username);
    request.setAttribute("student.name", "zhangsan");
    ArrayList list = new ArrayList();
    list.add("北京");
    list.add("热火");
    request.setAttribute("list",list);
    request.setAttribute("totalRecordCount", 8);
    request.setAttribute("pageSize", 2);
%>
<html>
<head>
    <title>Title</title>
</head>
<body>
${username}
${requestScope["student.name"]}
${list[0]}
${totalRecordCount/pageSize}
</body>
</html>
